package org.fing.edu.uy.esbadp.core.entity;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

import org.fing.edu.uy.esbadp.core.constants.EsbAdpPropertyConstants;



@XmlRootElement(name = EsbAdpPropertyConstants.MONITOR_MECHANISM_ELEMENT)
@XmlAccessorType(XmlAccessType.FIELD)
public class DMAdpMonitorMechanism implements Serializable{

	
	/**
	 * 
	 */
	private static final long serialVersionUID = -5953747254402443205L;
	private String valueName;
	private String frecuency;
	private String description;
	private String className;
	
	
	public DMAdpMonitorMechanism(){
		
	}
	
	
	
	public String getValueName() {
		return valueName;
	}



	public void setValueName(String valueName) {
		this.valueName = valueName;
	}

	

	public String getDescription() {
		return description;
	}



	public void setDescription(String description) {
		this.description = description;
	}



	public String getClassName() {
		return className;
	}


	public void setClassName(String className) {
		this.className = className;
	}


	public String getFrecuency() {
		return frecuency;
	}


	public void setFrecuency(String frecuency) {
		this.frecuency = frecuency;
	}



	public String toString(){
		StringBuilder sb = new StringBuilder();
		sb.append("   valueName:");
		sb.append(valueName);
		sb.append("\n");	
		if(this.description!=null){
			sb.append("   description:");
			sb.append(description);
			sb.append("\n");
		}
		
		sb.append("   frecuency:");
		sb.append(frecuency);
		sb.append("\n");	
		
		sb.append("   class:");
		sb.append(className);
		sb.append("\n");
		return sb.toString();	
	}
	
	
}
